package com.dinpay.plugin.activity;

import android.app.ProgressDialog;
import android.graphics.Color;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import com.dinpay.plugin.widget.CleanEditText;

final class q
  implements View.OnTouchListener
{
  q(DinpayPayActivity paramDinpayPayActivity)
  {
  }

  public final boolean onTouch(View paramView, MotionEvent paramMotionEvent)
  {
    if (DinpayPayActivity.K(this.a) == 1)
    {
      if (paramMotionEvent.getAction() != 0)
        break label167;
      paramView.setBackgroundColor(Color.parseColor("#0170D9"));
      localDinpayPayActivity = this.a;
      DinpayPayActivity.d(localDinpayPayActivity, DinpayPayActivity.f(DinpayPayActivity.L(this.a).getText().toString()));
      if (this.a.a())
        break label79;
      this.a.d("无法连接网络,请检查网络配置");
    }
    label79: 
    while (paramMotionEvent.getAction() != 1)
    {
      do
      {
        DinpayPayActivity localDinpayPayActivity;
        return false;
        if (!DinpayBaseActivity.e(DinpayPayActivity.M(this.a)))
        {
          DinpayPayActivity.b(this.a).show();
          DinpayPayActivity.N(this.a);
        }
        if ((!DinpayPayActivity.h(this.a)) && (!DinpayPayActivity.q(this.a).booleanValue()))
        {
          this.a.d("请选择支付银行");
          return false;
        }
      }
      while (!DinpayBaseActivity.e(DinpayPayActivity.M(this.a)));
      this.a.d("请输入正确的短信验证码");
      return false;
    }
    label167: paramView.setBackgroundColor(Color.parseColor("#258EE5"));
    return false;
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.dinpay.plugin.activity.q
 * JD-Core Version:    0.6.2
 */